package com.cos.entity;

import java.util.Date;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/13 20:13
  * @description:
  */
public class Passports {

    private Integer id;
    private String nationality;
    private Date expire;
    private Integer passengers_id;

    @Override
    public String toString() {
        return "Passports{" +
                "id=" + id +
                ", nationality='" + nationality + '\'' +
                ", expire=" + expire +
                ", passengers_id=" + passengers_id +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public Date getExpire() {
        return expire;
    }

    public void setExpire(Date expire) {
        this.expire = expire;
    }

    public Integer getPassengers_id() {
        return passengers_id;
    }

    public void setPassengers_id(Integer passengers_id) {
        this.passengers_id = passengers_id;
    }

    public Passports() {
    }

    public Passports(Integer id, String nationality, Date expire, Integer passengers_id) {
        this.id = id;
        this.nationality = nationality;
        this.expire = expire;
        this.passengers_id = passengers_id;
    }
}
